﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="username_update.aspx.cs" Inherits="SystemManage_username_update" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<script>
    function chknull() {
        if (document.getElementById('StaffNumer').value == '') {
            alert('员工工号不能为空');
            form1.StaffNumer.focus();
            return false;
        }



        if (document.getElementById('Username').value == '') {
            alert('用户名不能为空');
            form1.Username.focus();
            return false;
        }

       


        if (document.getElementById('Respon').value == '') {
            alert('角色名称不能为空');
            form1.Respon.focus();
            return false;
        }


        showwait();
    }

</script>








<head id="Head1" runat="server">
    <title>河南煤化鹤煤集团安全档案管理系统</title>
        <LINK href="../css/public.css" type="text/css" rel="stylesheet">
         <LINK href="../css/style_oa_30.css" type="text/css" rel="stylesheet">
           <script src="../public/public.js" type="text/javascript"></script>
</head>
<body  bgcolor="#E7E7E7">
    <form id="form1" runat="server">
    <!--#include file="../public/pleasewait.htm"-->
  
    <script language="javascript" src="../public/DateSelect.js"></script>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>
              <asp:TextBox ID="Number" runat="server" Visible="False"></asp:TextBox></td>
        </tr>
      </table>
      <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="35">
           <div id="printshow1">
          <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="17">&nbsp;</td>
                <td valign="top"> <table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="3%"><img src="../images/top_3.gif" ></td>
                       <td width="81%" valign="bottom"><a href="../main_d.aspx"  class="line_b">工作台</a> >> 用户管理 >> 修改用户信息</td>
                      <td width="81%">&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" height="6" border="0" cellpadding="0" cellspacing="0" background="../images/lingbg.jpg">
                    <tr> 
                      <td></td>
                    </tr>
                  </table></td>
                <td width="17">&nbsp;</td>
              </tr>
            </table>
             </div>
            </td>
        </tr>
      </table>
      <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="35">
            <div id="printshow2"> 
          <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="17">&nbsp;</td>
                <td valign="top"> 
           <table align="center" background="../images/bg0003.gif" border="0" cellpadding="0"
                        cellspacing="0" width="100%">
                        <tr>
                            <td width=30% style="height: 26px">
                                 <button class="btn4on" onclick="javascript:window.location='username_update.aspx?id=<%=Request.QueryString["id"]%>';showwait();"type="button"><font class="shadow_but">用户信息</font></button>
                                 <button class="btn4off" onclick="javascript:window.location='username_updateps.aspx?id=<%=Request.QueryString["id"]%>';showwait();" type="button"><font class="shadow_but">密码修改</font></button>
                                    
                              </td>
                              <td style="height: 26px" align="right" > &nbsp;</td>
                        </tr>
                    </table>
                </td>
                <td width="17">&nbsp;</td>
              </tr>
            </table>
            </div>
            <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="17">
                        &nbsp;</td>
                    <td valign="top" >
                  
                        <table align="center" bgcolor="#999999" border="0" cellpadding="4" cellspacing="1"
                            width="100%">
                            <tr>
                                <td align="center" bgcolor="#efefef" class="cpx12hei" colspan="4" width="33%" style="height: 26px">
                                    <b> 员工信息</b></td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    员工工号：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="33%">
                         <asp:TextBox ID="StaffNumer" runat="server" Width="90%" ></asp:TextBox>
                                </td>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    style="color: #000000" width="15%">
                                    员工姓名：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="35%">
                                 <asp:TextBox ID="XingMing" runat="server" Width="90%" ></asp:TextBox>
                                  </td>
                            </tr>
                            
                            
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    性别：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="33%">
                                    <asp:TextBox ID="XingBie" runat="server" Width="90%"></asp:TextBox></td>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="15%">
                                    员工身份证：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="35%">
                                    <asp:TextBox ID="ShenFen" runat="server" Width="90%"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    所在部门名称：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="83%"  colspan=3>
                                    <asp:TextBox ID="BuMen" runat="server" Width="95%"></asp:TextBox></td>
                           
                            </tr>    
                            
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    职位类别：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="33%" colspan="3">
                                
                                    <asp:TextBox ID="zhiweileibie" runat="server" Width="90%"></asp:TextBox></td>
                                
                            </tr>
                            
                            
                            
                            <tr>
                                <td align="center" bgcolor="#efefef" class="cpx12hei" colspan="4" width="33%" style="height: 26px">
                                    <b> 用户信息</b></td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    用户名：</td>
                                <td bgcolor="#efefef" class="cpx12hei" colspan="3" height="17">
                                    <asp:TextBox ID="Username" runat="server" Width="90%" ></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    是否允许登陆：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="33%">
                                     <asp:DropDownList ID="Iflogin" runat="server" Width="90%"  >
                                    <asp:ListItem>是</asp:ListItem>
                                    <asp:ListItem>否</asp:ListItem>
                                </asp:DropDownList>
                                    </td>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="15%">
                                    角色名称：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="35%">
                                  <asp:TextBox ID="Respon" runat="server" Width="80%" ></asp:TextBox><A href="javascript:void(0)"><IMG onclick="openrespon();" alt="" src="../images/FDJ.gif" border="0"></A>
                                    </td>
                            </tr>    
           
           
           
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    备注信息：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" colspan="3">
                                    <asp:TextBox ID="Remark" runat="server" TextMode="MultiLine" Width="95%"></asp:TextBox></td>
                            </tr>
                             <tr  id="printshow3">
                                <td align="center" bgcolor="#efefef" class="cpx12hei" colspan="4" height="26" width="33%">
                                    	<div align="center"><FONT face="宋体">
                                <asp:Button ID="Button1" runat="server" Text="确 定" CssClass="button_blue" OnClick="Button1_Click" />
                                &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<input id="Button2" class="button_blue" onclick="window.close()"
                                                type="button" value="关 闭" /></FONT></div> </td>
                            </tr>
                          
                        </table>
                        
           
                        
                    </td>
                    <td width="17" >
                        &nbsp;</td>
                </tr>
            </table>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
<asp:TextBox ID="ResponId" runat="server" Width="90%" style="DISPLAY: none"></asp:TextBox>
<asp:TextBox ID="StaffId" runat="server" Width="90%" style="DISPLAY: none" ></asp:TextBox>
<asp:TextBox ID="BuMenId" runat="server" Width="90%" style="DISPLAY: none" ></asp:TextBox>
<script language="javascript">




    var wName_3;
    function openrespon() {
        var num = Math.random();
        var str = "" + document.getElementById('ResponId').value + "|" + document.getElementById('Respon').value + "";
        wName_3 = window.showModalDialog("../OpenWindows/open_Respon.aspx?tmp=" + num + "&requeststr=" + str + "", "window", "dialogWidth:400px;DialogHeight=480px;status:no;scroll=yes;help:no");
        var arr = wName_3.split("|");
        for (var i = 0; i < arr.length; i++) {
            document.getElementById("ResponId").value = arr[0];
            document.getElementById("Respon").value = arr[1];
        }
    }


    var wName_2;
    function openunit() {
        var num = Math.random();
        var str = "" + document.getElementById('GzdwId').value + "";
        wName_2 = window.showModalDialog("../OpenWindows/open_jigou_list.aspx?tmp=" + num + "&requeststr=" + str + "&id=" + str + "", "window", "dialogWidth:650px;DialogHeight=600px;status:no;scroll=yes;help:no");
        var arr = wName_2.split("|");
        for (var i = 0; i < arr.length; i++) {
            document.getElementById("GzdwId").value = arr[0];
            document.getElementById("GzdwName").value = arr[1];
        }
    }









</script>  
    
    
    </form>
</body>
</html>